package com.backstage;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@SpringBootApplication
public class IntelligentFactoryApplication extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(IntelligentFactoryApplication.class);
    }

    public static void main(String[] args) {
        new SpringApplicationBuilder(IntelligentFactoryApplication.class).web(true).run(args);
    }
}
